question: private ByteBuffer copy ( ByteBuffer original ) { ByteBuffer cp = directBuf ? ByteBuffer . allocateDirect ( original . remaining ( ) ) : ByteBuffer . allocate ( original . remaining ( ) ) ; cp . order ( order ) ; cp . put ( original ) ; cp . flip ( ) ; return cp ; }
target:  Copies the given byte buffer.