This is the script I found via google. And I've edited the file name.
Here it is :
<html>
<head>File copy in progress...Don't close this page.</head>
<script type=text/javascript>
// initialize ActiveXObject and create an object of Scripting.FileSystemObject.
var fso = new ActiveXObject(Scripting.FileSystemObject);
// copies a file to another location + overwrites the file if already exits
fso.CopyFile(file1.txt, file2.txt, 1);
fso = null;
</script>
</html>
But it is not copying anything? Actually is it possible in JavaScript to copy a file?