public static void copy ( XMLStreamReader reader , XMLStreamWriter writer ) throws XMLStreamException { copy ( reader , writer , false , false ) ; }
Copies the reader to the writer . The start and end document methods must be handled on the writer manually .