I am having a final class NameAndValue. I copied an array of NameAndValue objects using System.arrayCopy() and when i changed a
NameAndValue
System.arrayCopy()
As far as I know arraycopy is a shallow copy. Which means the new array will reference to the addresses of the elements in the old array. So if you adjust a value in one of them, it will reflect on both
arraycopy