All you need to do is to take the tail piece and place it where the head will be on the next move. This will mean that the body stays the same length but moves ahead, and you won't even have to shift all of the body parts. Just make sure you keep track of where in the array the head and tail are otherwise you will be removing sections of the body because the head and tail won't always be at the start and end of the array, but it doesn'yt matter where in the array the parts are. Oh and, if you need to extend the length of the snake to increase the difficulty level then simply don't remove the tail end but add the head. Let me know if I need to rewrite this to make it more clearer, I have a habit of confusing people.