Move messages and folder structure

I would like to be able to select a series of documents, and then run a UI agent that will move these documents to a new folder structure within the same database.

For instance if I am in a folder called client\xyz I want to select these documents and put them into a folder called archive\client\xyz, and then remove those documents from the original client\xyz folder,

automatically.

Can anyone give me an example on how to do this?

Thanks in advance!