yeah. pain was a pretty tough opponent. he was fighting two pains actually along with choza and chouji so it was difficult. kakashi does die but he gets brought back to life by pain once naruto knocked some sense into him.
I dont think it was that easy of fight for pain(pein?). Kakashi also was defending someone while he was fighting him right? He had to defend himself and someone else at the same time, he was put in a tough situation. I dont exactly remember what happened honestly, but i dont think it was an easy fight for pain from what i remember.