Fix Buffer.copy and restore a bunch of Buffer.writeX methods