I have two two dimensional arrays, array1 and array2.
In array1, I set in position (0,0) the value "dog".
In array2, I set in position (2,3) the value array1.At (0,0).
I take a variable that I call Friend and set the value "array2.At (2,3)".
I make one condition. I say that if the variable Friend = "dog", it has to do a certain action.
It is an example that trivializes my process. It does not work for me, it is as if the value, passing from array1 to 2, changes.
I did a test. If I go to set the value "dog" on array2 directly, eliminating the copy step from array1, it works.
Can anyone help me?