If an encoding is specified, overwrite grunt.file.defaultEncoding.

```javascript
/*global module:false*/
module.exports = function (grunt) {
    grunt.file.defaultEncoding = 'gbk';
    
    grunt.initConfig({
        copy: {
            'all': {
                options: {
                    encoding: 'utf8'
                },

                files: [
                    {
                        expand: true,
                        cwd: 'template/',
                        src: ['*.tpl', 'aladdin/**', 'config/**'],
                        dest: '../build/template/'
                    }
                ]
            }
        }
    });
};
```