copydir: new package

We want a recursive copy function so that we can avoid executing /bin/cp
in supposedly isolated test suites. cp isn't always in /bin; not every /bin/cp
works the same.
copies the file or directory?