Add mirror command.

This behaves similarly to cp but the destination is modified to exactly match the source (as opposed to the union of znodes that is the result of cp).

Added tests that are similar to the cp tests.