Look at splice. It can do pop, push, shift, unshift, and more.
In reply to Re: shifting the middle of an array? by lemming in thread shifting the middle of an array? by Anonymous Monk