Fix manual array to collection copy

Such constructs may be replaced by a call to
Collection.addAll(Arrays.asList()) or Collections.addAll().
Powered by InspectionGadgets