Hello,
I need to make a copy (clone) of the 1D array.

Dim array1() as F1Object
Dim copyarray() as F1Object

In my code I assigned values to the arra1

Redim copyarray(ubound(array1))

copyarray = array1

The problem is:
The copyarray changes automatically when I’m modifying the array1 because the “copyarray” is just reference to “array1”

How can I clone array1 to copyarray ?


Thank you