@Override public int[] toArray() { return performOperation( TerminalFunctions.toArrayIntFunction(), false, (v1, v2) -> { int[] array = Arrays.copyOf(v1, v1.length + v2.length); System.arraycopy(v2, 0, array, v1.length, v2.length); return array; }, null, false); }