Originally posted by Micho Lee:
I tried using:
naPoo = (int[][]) p_naPoo.clone();
but that doesn't work... same result. Any help would be much appreciated.
Yes, it worked - just not the way you expected...
The problem is that you don't just have an array, but that you have an array of arrays. What you cloned was just the outer array - the clone still referenced the same inner arrays. What you need to do is to clone those, too. Unfortunately, to my knowledge there is no shortcut to do that...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus