/** * Returns a copy of a portion of a big array. * * @param array a big array. * @param offset the first element to copy. * @param length the number of elements to copy. * @return a new big array containing <code>length</code> elements of <code>array</code> starting * at <code>offset</code>. */ public static boolean[][] copy(final boolean[][] array, final long offset, final long length) { ensureOffsetLength(array, offset, length); final boolean[][] a = newBigArray(length); copy(array, offset, a, 0, length); return a; }