Remove the copy_bytes() function from files.c and util/recover.c and place a single copy into hacklib.