How to power a 6-12v Piezo siren from an Arduino?
Both the IRF510 and the 2N7000 are N-channel MOSFETS. You can use the exact same circuit described in the link that you included and it should work fine. Note that the second circuit (one on the right) is the better circuit to utilize.

Do note, however, that not all transistors are created equally. But, the threshold voltages and other characteristics between these two are similar enough that you probably won't notice too much of a difference.