MemoryInputStream getData() request

Hi Jules, would it be possible to add a getData() method to MemoryInputStream so we can create copies of MemoryInputStreams? MemoryOutputStream, FileInputStream and FileOutputStream already have their equivalent methods.

Sure, I can add those.

Great stuff, thanks!