Implement replace method for replacing data of current document with data from another one.
Implement Merge method which merges two documents according to specified merge options.