Added document and element Copy() functions.
Allows deep (recursive) copies of element trees.