Struggling to copy a list of files (in txt file) to another folder

Have a look in the FAQ

How to use buttons and scripts from this forum

and the docs:

Customize

Creating your own buttons

Advanced Command Editor