Lets say N187:4=28 , N187:5=45 and N187:1=60
then the copy instruction would be like
Source N28:45
Dest N60:0
So if the length is 20, it will copy N28:45 to N60:0 until N60:19
hope you understood
respect the migration you basically have 2 options.
1st- Create a 2 dim array and stay with that code. This one will probably cnsume a lotmore memory
2nd- Modify the code to reach the same objective