So the shooting's all done, the bad guys are packed on ice, and Detective Raines (Dean Norris) is cruising around looking for answers. We've been waiting for this part the whole movie — Raines was definitely going to figure out that Kersey was the Grim Reaper, but the question was always whether he was going to be a dutiful cop and put Kersey in cuffs, or whether he was going to hint that he knew, wink wink, and look the other way.
Well, we got a definitive answer to that question, but it came in such a vague way that some viewers may have missed it. When Raines is questioning Kersey about his legal guns, he asks if Kersey ever had a Glock. Kersey answers that he had one, but he got rid of it. "For good?" Raines asks. "For good," Kersey replies.
In other words, Raines knows everything. If you remember, the gun Doc K got from the dead thug's body was a Glock. That's the same gun he uses the whole movie to cap all those criminal fools. After this conversation, Kersey and Raines both know that the other also knows, and they're both cool with that. Because that's the moral of Death Wish's story: vigilante justice is a good thing, kids.