function ibec_imap_CopyMessage(IMAPSession : variant, MessageID : integer, ToFolder : string);
IMAP example