VB Code:
  1. filecopy(FullPaths.item(FileNames(x)) , dirPaste.Path)

when i write this line of code to copy files i get a message saying it expects a = sign

fullpaths is a collection with all entries having a key of their file name
Filenames contains the names of the files that are used to reference the paths