plane-tree-copy