extract bytes from certain positions

Say I want to extract certain amount of bytes from a certain location and copy the bytes back to the current position of a bin file.

eg

a2 has 0C CD D2 C9 CB CC DD DC BC BC CC DD BB BB CB CC

I extract bytes DD DC and copy them back like this

a2 has 0C CD D2 C9 CB CC DD DC BC BC CC DD BB BB CB CC DD DC

I could use an unget loop to go back to get DD DC,but how should move it forward.

Thanks
Topic archived. No new replies allowed.