Implement Document::copy with bugs :-(