Here you can find the source of subArray(String a[], int from)
public static String[] subArray(String a[], int from)
//package com.java2s; //License from project: Apache License public class Main { public static String[] subArray(String a[], int from) { if (from == 0) return a; String newa[] = new String[a.length - from]; System.arraycopy(a, from, newa, 0, newa.length); return newa; }/* w ww. j a v a2 s .c om*/ }