Remove redundant file copying