Emulate BufferUtils.copy(Buffer, Buffer, numElements)

Also added `BufferUtilsTest` to the gwt tests.