Added overload of copyTemplate to allow extra substitutions
Merge pull request #947 from Nakomis/process-template-extra-substitutions

Added overload of copyTemplate to allow extra substitutions