Here you can find the source of addArray(Object[] Old, Object[] New)
public static Object[] addArray(Object[] Old, Object[] New)
//package com.java2s; //License from project: Open Source License public class Main { public static Object[] addArray(Object[] Old, Object[] New) { Object[] result = new Object[Old.length + New.length]; for (int zahl = 0; zahl < result.length; zahl++) if (zahl < Old.length) result[zahl] = Old[zahl]; else/* www . ja v a2 s.com*/ result[zahl] = New[zahl - Old.length]; return result; } }