How to know when Files are copied when Using CopyFileTo and Msgbox?

Hi!

i have a little code that copies all the files of one destination to another one using CopyFileTo:

SourcePDFFile.CopyFileTo(destination.Child(RFC).Child(AoRow).Child(MesFacturacion).Child(RazonORFCFiltered)) 

Previously I check if the folders exists, if not, then create it.

But I wonder if is it possible to show a Messagebox when the files are copied.

Thanks

CopyFileTo blocks your application until complete, so adding a simple msgbox immediately after will work.