copy list with bst