Fixed call to MC_SAFE_REPLACE_COPY.