Create treeCreateCopy.cpp