copy files to output directory