String [] results =new String[]{"1","2","3","1","2","3""1","2","3"}; results = Arrays.copyOfRange(results, 0, 5);