Transfering Attributes From One Node To Another

Hi there!

Basically I want to transfer attributes of any type from one object to another. Any type really means multi compounds, arrays, ints, longs, floats... whatever.

I figured out that dealing with non-multi-attrs whouldn't be so hard to realise. But those multi-things make it a little more complicated. But that will work out too I guess...

But now before I really script my way to read out that multi types and recreate them at the other object: Isn't there a simple way of maya that helps me to easily just transfer attributes??

PS: Background: We have custom attrs for our engine at the shaders. Now the artists want to have specular-maps. But If I use the Attribute Editor to switch a shader type all the custom-attrs are gone :[ So I want to offer an alternate way to switch shader types.