remove template processing code from copyFileSync