Fixed copy in bash