use bash for copy