I am currently trying to write a memory stream to a file by using the following method: MemoryStream.WriteTo(FileStream). At least this is what I found online. However I don't know how to initialize FileStream or use it properly. To be quite honest, I'm not sure exactly what MemoryStream does, besides move data. I have seen words like "buffer" used to relate to the method but I don't know what that entails. Any information or explanation you guys can provide would be very helpful. Thank you.