cp: fix argument parsing
Merge pull request #206 from ebfe/cp

cp: fix argument parsing