How to copy an array of Objects instead of referencing

In Swift for example that would be an inout parameter. It it passes still a copy (in case of value types), but allows you to mutate it as it was a variable and it will write it back to the original variable when the execution of that function call ends. Verse does not have such capabilities yet.

It’s the same if you took a an array which is stored in a variable and assigned that to a new variable. Regardless of both being variables, changing the second one will not cause any updates on the original one.

However, I will write a single example in short just to confirm that the passed value isn’t just a pointer to the original one. Just bumped over pointers in the docs and got curious.