Dear member
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.
Also
fi1.CopyTo(path2);
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).