How to create a sub-array from another array? Is there a method that takes the indexes from the first array such as:
methodName(object array, int start, int
int newArrayLength = 30; int[] newArray = new int[newArrayLength]; System.arrayCopy(oldArray, 0, newArray, 0, newArray.length);