do not use copytree to copy dir