(#12) Implement document COPY API