copy files to main directory