Copy xml datastreams