use same shell command for copy method as for copytree one