copy: move argument validation a little earlier...
copy: move argument validation a little earlier
Argument validation is usually done early and I will want it done
before some code that I'm about to add.
Differential Revision:
https://phab.mercurial-scm.org/D8033