Flattening accumulatorprovider copy array so all entries are volatile