Check if a file exists before copying

Fixes #2
Merge pull request #3 from SamWhited/issue2

Check if a file exists before copying