Gruntfile.js
function(filepath) {
                        // Construct the destination file path.
                        var dest = path.join(
                            grunt.config('copy.coverage.dest'),
                            path.relative(process.cwd(), filepath)
                        );
                        // Return false if the file exists.
                        return !(grunt.file.exists(dest));
                    }
function(filepath) {
                        // Construct the destination file path.
                        var dest = path.join(
                            grunt.config('copy.coverage.dest'),
                            path.relative(process.cwd(), filepath)
                        );
                        // Return false if the file exists.
                        return !(grunt.file.exists(dest));
                    }
function ( filepath ) { // Construct the destination file path. var dest = path . join ( grunt . config ( 'copy.coverage.dest' ) , path . relative ( process . cwd ( ) , filepath ) ) ; // Return false if the file exists. return ! ( grunt . file . exists ( dest ) ) ; }
Copy if file does not exist.
Copy if file does not exist .