Replace old with new arrays.