the cause: when a regex filter is provided as an option, the first
check is made against the path name, and if the path does not match the
regex option, then the callback function is called with no error, and
the code is exited without processing any of the files within the
folder.
this change simply ignores the first iteration through the startCopy
function, which is the path name.
the cause: when a regex filter is provided as an option, the first check is made against the path name, and if the path does not match the regex option, then the callback function is called with no error, and the code is exited without processing any of the files within the folder. this change simply ignores the first iteration through the startCopy function, which is the path name.