add copyFileAndReplaceTemplate method

for some local development for theme setup.