I used this code to copy one 2D array to another 2D array:
Array.Copy(teamPerformance, 0,tempPerformance,0, teamPerformance.Length);
However, when I change some data in tempPerformance
then these changes also apply to teamPerformance
.
What should I do to control that?