Java Array Get First N Elements