array.copy

A new array with a copy of all elements.

array.copy(id: array<any>) -> array<any>

Parameters

Example

b = a.copy()