copy files to dest directory
function copyFileFrom(file, to_dir){
    var sys = require("sys");
    var fs = require('fs');

    var file_name = filenameFromPath(file);
    if (file_name == ".DS_Store") {
        return;
    }

    sys.pump(fs.createReadStream(file), fs.createWriteStream(to_dir),function(){
        console.log("Copied file: " + file);
        console.log("To new destination: " + to_dir + "\n");
    });
}