copy method

ImmortalList<T> copy()

Returns a copy of this list.

Implementation

ImmortalList<T> copy() => ImmortalList(_list);