Two problems: 1. you are reading and then writing, so your read/write pointer will start at file index 30 because you just read 30 bytes with the call to read. 2. After you do the write, you are...