How exactly would that work?
It is considered a truism in ground combat that fighters and bombers are all well and good, but you need feet on the ground to actually capture something.
How does a helicopter, however fast and well-armed, capture pirates in a boat? I can see flying over and annoying them, I can see blasting them to small pieces, but I can't see dropping people out of helicopters in order to board a ship.
So, if all you want is to blast the pirates, there are certainly faster, cooler ways to do so. And a carrier with Harriers can cover quite an area.
But, if you want to take a pirate in for a trial, I think that some sort of ship is in order.