Faster memory copy between direct buffer and byte array