Per shiftare elementi di un array puoi usare anche la funzione

memmove

http://www.cplusplus.com/reference/c...g/memmove.html