this is what i have so far
int[] startInts = Arrays.copyOfRange(myInts, count+1, myInts.length); // first half of array
int[] endInts = Arrays.copyOfRange(myInts, count+1, myInts.length); // other half of array
int[] newInts = new int[startInts.length + endInts.length];
System.arraycopy(startInts, 0, newInts, 0, startInts.length);
System.arraycopy(endInts, 0, newInts, startInts.length, endInts.length);
myInts = newInts;
But all this does is give me a number.
It doesn't really merge the two arrays into one array. Any help with how to do this.
Solution
int[] startInts = Arrays.copyOfRange(myInts, myInts[0], index); // first half of array
int[] endInts = Arrays.copyOfRange(myInts, count+1, myInts.length); // other half of array
System.out.println(Arrays.toString(startInts));
System.out.println(Arrays.toString(endInts));
int[] newInts = new int[startInts.length + endInts.length];
System.arraycopy(startInts, 0, newInts, 0, startInts.length);
System.arraycopy(endInts, 0, newInts, startInts.length, endInts.length);