Simplify ArrayBuffer copy.