I do not want instance materials but the original materials in asset

Hi

I made a script that copy all materials from a gameobject to another. It 'a script that runs in the editor to press a button.

TargetComponents[j].gameObject.transform.GetComponent<Renderer>().material=ComponentsToAdd*.gameObject.transform.GetComponent<Renderer>().materials;*

Is a Unity 5 script, but would be the same in unity 4, it makes little difference, like:
TargetComponents[j].gameObject.transform.render.materials=ComponentsToAdd*.gameObject.transform.render.materials;*
Works but the materials that I copied are not the same but are instances.
I would like to know how to tell him not to create instances but use their original materials in asset.
Is possible?

Try

GetComponent<Renderer>().sharedMaterial
//or
GetComponent<Renderer>().sharedMaterials