Fixed support for ignore dirs and ignore files regexes to copyDirSyncRecursive(). It was already added to copyDirRecursive().