How do I move a sequence through an array?

HazardsMind:

The length and the highest index are different things,

If the length is 10, and the highest index is always the overall length - 1, then how are they different? Maybe if you have a mixed array of longs, ints and bytes, then yes, it would compromise the functions, but when would that ever really happen?

When will the overall length ever be greater or less than the highest index?

byte foo[10];
Length = 10
Highest index = 9.
10 != 9