It is not allowed to copy or write any file onto the users system via a web browser app.
Your code will consider this line of code "
string path2 = @"c:\";
as the C drive of the server and not as the C drive of local machine.
will copy the file to server itself and not the users machine (and that too when the IIS_WPG has been granted the necessary permissions).