dear monks ,
i tried the following statement inorder to copy from file1 to tmp. first time it copied . when i tried for second time it is giving the error.
copy("file1", "tmp"); does the above statement will work without giving any error if "temp" file is already existing with data. since it is giving error for me as "cant open "tmp" file "