code: public void getBytes(int lengthToCopy, byte[] copyArray, int copyOffset) {
          if (lengthToCopy > 0) {
              System.arraycopy(_buffer, _offset, copyArray, copyOffset, lengthToCopy);
              skip(lengthToCopy);
          }
  
      }
docs: Get bytes from the xdr buffer to the input buffer
  
  @param lengthToCopy
  Number of bytes to copy.
  @param copyArray
  Array to hold the copied data.
  @param copyOffset
  Where to start the copy.