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.
This change should be taken out.