Fixes #3389 - Add possibility to exclude a file or files matching a regexp from a folder copy

Fixes #3389 - Add possibility to exclude a file or files matching a regexp from a folder copy