method CopySyncOptions.filterCopySyncOptions.filter(source: string,destination: string,): booleanDeprecatedFunction to filter copied files/directories. Return true to copy the item, false to ignore it. Parameterssource: stringdestination: stringReturn Typeboolean