Here you can find the source of arrayConcatenate(String[] first, String[] second)
public static String[] arrayConcatenate(String[] first, String[] second)
//package com.java2s; //License from project: Apache License public class Main { public static String[] arrayConcatenate(String[] first, String[] second) { String[] ret = new String[first.length + second.length]; System.arraycopy(first, 0, ret, 0, first.length); System.arraycopy(second, 0, ret, first.length, second.length); return ret; }//from w w w. j a v a2s. c o m }