Copies a user agent to another user agent. You must call setupUserMemory before calling this method. You can copy agents only to your current user name.
public int copyUserAgent(String sourceUser, String sourceAgent, String destUser, String destAgent) throws RemoteException, SearchException
sourceUser – name of a source user
sourceAgent – name of a user agent to be copied
destUser – name of a destination user; must match your current user name
destAgent – name of a destination user agent
Returns a status of: 0 if failure; otherwise, successful.