Performs a shallow copy of the source array.
Source items are copied by value; if the source array contains objects, the object handles are copied but the objects are not cloned.
- Parameters
-
array | Array object. |
source | Source array to be copied. |
- Returns
- Operation status.