There are also other problems
If files are very large and/or the storage medium is very slow
On Windows there are quickly ugly effects with the window when no WindowEvent occurs
With such batch routines you must also consider that you can abort them again
With a While WIndowEvent() : Wend Call there is no possibility to cancel, because there are no more events available for check a button
After copying a small block, a WindowEvent() call
Before this call you update the progressbar and the text gadget
So you can also check simple Button events
Furthermore, a list must be created which records and can report errors
However, a copy error should only be displayed in a log after the end of the batch routine, otherwise the batch routine will get stuck and will not be finished and you will also have problems with localization and error correction.
It's also perfect when you consider that Fat32, which is often found on sticks, can't record files larger than 4GB (videos)
There must also be enough space on the stick for the files to be copied, otherwise there will be trouble
The corpses of files that could not be copied correctly must be automatically closed and removed from the target medium
Also you should use a custom progress bar, the Windows Progressbar is to slow and this look very bad, you seen not exactelly a fast progress
Is also annoying, the OS Progressbars look very different on the different OS, so a custom bar is recommended
So it's the details you should and must consider to make it perfect
Quickly, a simple thing becomes a rather complicated and complex one.

