copy

Syntax

copy(X)

Arguments

X can be of any data type.

Details

Return a copy of X.

Examples

x=1 2 3;
x.copy();
// output
[1,2,3]