code: static final boolean arraysEqual(final byte[] a, final int offsetA, final byte[] b,
        final int offsetB, final int length) {
      for (int i = 0; i < length; i++) {
        if (a[i + offsetA] != b[i + offsetB]) {
          return false;
        }
      }
      return true;
    }
docs: Returns <tt>true</tt> if the two specified sub-arrays of bytes are <i>equal</i> to one another.
  Two arrays are considered equal if all corresponding pairs of elements in the two arrays are
  equal. In other words, two arrays are equal if and only if they contain the same elements
  in the same order.
  
  @param a one sub-array to be tested for equality
  @param offsetA the offset in bytes of the start of sub-array <i>a</i>.
  @param b the other sub-array to be tested for equality
  @param offsetB the offset in bytes of the start of sub-array <i>b</i>.
  @param length the length in bytes of the two sub-arrays.
  @return <tt>true</tt> if the two sub-arrays are equal