Copying files completed in Linux/mac