Handle COPY commands as per open-vcdiff implementation.

The COPY command can copy data from:
- source only
- source and target
- target only.
The original implementation assumed source only.
Will do. I added this before the last PR.