There's one big difference between a military attack helicopter and a military transport helicopter: one carries a lot of guns, and the other carries a lot of weight.
And the US Army AH-64 Apache and Russian Ka-52 Alligator are generally considered to be the two best military attack helicopters in the world (with the Russian Mi-28N arguably in a close third).
The Apache first flew in 1975, and has since been upgraded several times, with the newest variant being the AH-64E.
The Alligator, on the other hand, first flew in 1997 and is a successor to the Ka-50 Black Shark.
Here's how they match up.