copy of a binary tree