How can I copy a non-seekable stream to a byte array? I don't know how long the stream is, so I'm not sure how to read the information from it.

Additionally, the byte array can't be used until you know how long the stream is, so am I going to have to use a temp buffer?

Thanks,

KT