Copy newly arrived mails to a folder of another nsf database

I would like to copy newly arrived mails from a particular sender from my mailfile to a folder of another nsf database. What’s the best method to achieve this? A copy agent? What’s the code to do this?

Subject: Copy newly arrived mails to a folder of another nsf database.

I believe Agent FAQ article “Out of the inbox” has an example of such agent, and some explanation which will probably be helpful as well. Check under resources on the left.