title: Java split array into 2 other arrays, one with all numbers above a value and one with all below
body: <p>I have a array with alot of numbers and I want to split it into 2 new arrays, one with all the numbers below a certain value and the other with the once above. The problem is that I dont know how many elements there will be in each array and I cant make larger arrays because it needs to be the exact size. Anyone know how to do this?</p>