Hi,
If you want to apply a strict software binning, then the tool is IntegerResample, as it will simply average pixel values without applying any interpolation algorithm. For instance, it's very useful to generate binned master flats from bin 1x1 masters.
Best regards,
Vicent.