grunt-contrib-copy のサンプル
gruntjs/grunt-contrib-copy · GitHub
Flattening the filepath output:
copy: main: # src に指定したフォルダーまで含めてコピーしたくなければ true expand: true # ** だとサブフォルダーの中も含めてコピー src: 'src/**' dest: 'dest/' # 階層的なコピーをしない flatten: true # コピーは File だけ filter: 'isFile'
Grunt はいろいろできるのが楽しいです。