I have a number of objects stored in an array. It seems that the array does not point to the objects, but has copies of them.The item in the array is only updated with array[index].prop notation, not with the object.prop notation.

It would be possible to always use the array[index].prop notation for an update of items, but I want to understand, why the other method does not work. And of course there should be no copies...