Remove scala import in Arrays.copyOf