switching to native perl command for copy/mkdir