DEVELOPER-929 only copy files if they exist
Merge pull request #476 from pmuir/DEVELOPER-929

Developer 929