Create an in-memory copy of a tree. The copy must be explicitly free'd or it will leak.
Pointer to store the copy of the tree
Original tree to copy