Here you can find the source of combineArray(String[] a, String[] b)
public static String[] combineArray(String[] a, String[] b)
//package com.java2s; //License from project: Apache License public class Main { public static String[] combineArray(String[] a, String[] b) { String[] c = new String[a.length + b.length]; System.arraycopy(a, 0, c, 0, a.length); System.arraycopy(b, 0, c, a.length, b.length); return c; }/*from w w w . j av a 2 s .co m*/ }