Change copy to copytree for dir.