myarray=.array~of("N","S","E","W")
/* Copies array myarray to array directions */
directions=myarray~copy
copy method is a “shallow copy”.
Only the target object is copied.
Additional objects referenced by the target object are not copied.
For example, copying an Array object instance only copies the Array,
it does not copy any of the objects stored in the Array.