copy method

Rope copy()

O(1): nodes are immutable, so the snapshot shares the whole tree.

Implementation

Rope copy() => Rope._fromRoot(_root, _selection);