I need to make a copy of a jpeg file is there any way that i could be able to do that. I eventually need to be able to send it through a socket. It would be great if there was some way that i could send any type of file through a socket. If anyone can point me in the right direction, it would be great.

Thank you