Sorry, if you look at the example in linked, you need to create the FSO to be able to use it. Can't simply summon it out of thin air.
Code:
Sub FSO_Example()
Dim fs As FileSystemObject
Set fs = New FileSystemObject
fs.CopyFolder "C:\My Dcouments\My Folder", "C:\My Dcouments\To Here\"
End Sub
what will be the code for
1. list down the name of the files in any given folder with their extension
2. and copy the files with any particular extension or type like .csv or .rpt and then paste these filesin another location.
Here's an example that loops over files and stores file names in an array. Given example uses that to open the files, but you could simply loop over the array and print the names. http://www.rondebruin.nl/win/s3/win008.htm