Logic hooks

How to assign same address of Contacts in Cases through LogicHooks?