Code: Select all
byte ArrayOne[];
byte ArrayTwo[];
...function call that returns, filling ArrayOne with values...
I now want to pass those values to ArrayTwo, but I don't care about the first three bytes of ArrayOne.
I don't want to do the following:
Code: Select all
ArrayTwo=ArrayOne;
I don't want to do this either:
Code: Select all
ArrayTwo[0]=ArrayOne[3];
ArrayTwo[1]=ArrayOne[4];
ArrayTwo[2]=ArrayOne[5];
ArrayTwo[3]=ArrayOne[6];
ArrayTwo[4]=ArrayOne[7];
ArrayTwo[5]=ArrayOne[8];
ArrayTwo[6]=ArrayOne[9];
How should I do it?