Pasting rendering materials from one document to another

As for now I can’t copy get to import some materials when copying from an object with the right material and material name from another document.

I tried:
_RenderPasteConflictOption
_RenderImportConflictOption

Right now if the materials with its textures already exist it is this name that is kept not the material with the new name. This becomes a nightmare if you’re trying to have contol of alot of materials and updates.

What am I doing wrong?