How to copy device config of switch

I have several Osram lightify switches (not plugs) with four buttons, that can have multiple functions for pressing long or short. In my living room I want to use four switches with the same config. Is there a way to just copy the config from one device to the other?
Thanks
Marc

Can you explain how you are using it?
Is it trigger automations?
If so just add all devices as the trigger