How can I copy one gear array to another? For example, I have a 5x7 array:
0, 0, 0, 0, 0, 0, 0
0, 0, 0, 0, 0, 0, 0
0, 0, 0, 0, 0, 0, 0
0, 0, 0, 0, 0, 0, 0
0, 0, 0, 0, 0, 0, 0
and a 4x3 array:
0,1,1,0
1,1,1,1
0,1,1,0
I would like to specify a specific starting point, such as (1,1) for my entire zero array, and copy my second array to it so that I have the result, for example:
0, 0, 0, 0, 0, 0, 0
0, 0, 1, 1, 0, 0, 0
0, 1, 1, 1, 1, 0, 0
0, 0, 1, 1, 0, 0, 0
0, 0, 0, 0, 0, 0, 0
What would be the best way to do this?