How far is Buffalo New York from Newark New Jersey?

It is 387.90 miles according to MapQuest.