Entourage Category Script Request

I am trying to make the “department” field contain the “category” name (assigned to each contact) on all contacts. Is there a way to make this happen without doing all of them manually?

Thanks in advance…