easiest way of driving amplifying from 5v to 12v

winner10920:
basically it will be receiving the output from a 5v comparator deciding whether it is on or off, id like to drive the mosfet in one step if possible but with the smallest footprint

It's a comparator output, eh?
If it's one with an open-collector output then you won't need the NPN transistor/s.