Fixing #148 - Code + Test case

Fix to issue related to actions.copy() using templating with conflicting files.