tar and copy files