Only way i can think of is to read it byte for byte and then writeit. Or line for line, but i haven't really tried that.