title: How to clone an InputStream to allow reading from both streams ( original and clone)?
body: <p>I have an InputStream of which I read data to log it on the screen. Then, this data I wish to pass it to an StaxParser. However the staxparser doesn't know to feed continuously from string,but rather input stream. </p>
  
  <p>So I would like to clone the same inputstream to read both from it.</p>
  
  <p>Do you have any better idea? If not, how can I clone the InputStreams?</p>
  
  <p>Kind regards,</p>