Let's not overwrite directories
Use source filename when copying to directory
Merge pull request #31 from martica/safe-cp

Let's not overwrite directories