Create new list y containing the same elements as list x.Subsequent modifications of y must not affect x (except for the contents referenced by the elements themselves if they contain pointers).
List<T> y = x.ToList();
List<Int32> y = new List<Int32>(x);
y := make([]T, len(x)) copy(y, x)
let y = x.slice();
classes
y.assign(x);
y = x[:]
y = x.dup
let y = x.clone();
No security, no password. Other people might choose the same nickname.