Implement file copying for build