updated to copy files