Added more branches to copytree.cpp.