rem: var sourceFile = Components.classes["component: 
add: var sourceFile = Components.classes["@mozilla.org/file/local;1"]. 
context: function mv(source, dest, followLinks, newName){    try {    var sourceFile = Components.classes["component://mozilla/file/local"].	createInstance(nsILocalFile);    sourceFile.initWithPath(source);        var destFile = Components.classes["component://mozilla/file/local"].	createInstance(nsILocalFile);    destFile.initWithPath(dest);        }    catch (e) {        dump("Could not create nsILocalFile\n");    }    try {        if (! destFile.isDirectory())        {            dump("destination not a directory!\n");            return;        }    }    catch (e) {        dump("error accessing dest");    }    try {        if (followLinks)        {            sourceFile.moveToFollowingLinks(destFile, newName);        }        else        {            sourceFile.moveTo(destFile, newName);        }    }    catch (e) {        dump("error coping" + e + "\n");    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0257791053c2b38e1dfaf2ee11afae973e82e394/cp.js/clean/xpcom/tests/utils/cp.js