basic version
deepcopy: recursive put every node in place