Here you can find the source of arrayintappend(int[] array, int[] append)
public static int[] arrayintappend(int[] array, int[] append)
//package com.java2s; public class Main { public static int[] arrayintappend(int[] array, int[] append) { return arrayintappend(array, append, append.length); }/*w w w . j av a2s. c o m*/ public static int[] arrayintappend(int[] array, int[] append, int size) { array = arrayintexpend(array, size); System.arraycopy(append, 0, array, array.length - size, size); return array; } public static int[] arrayintexpend(int[] array, int increment) { System.arraycopy(array, 0, array = new int[array.length + increment], 0, array.length - increment); return array; } }