public void copyTo ( int start , int end , byte [ ] dest , int destPos ) { // this.subSequence(start, end).copyTo(dest, destPos) would allocate another Bytes object arraycopy ( start , dest , destPos , end - start ) ; }
Copy a subsequence of Bytes to specific byte array . Uses the specified offset in the dest byte array to start the copy .