There are some parallels between Hitler and Napoleon, but all in all they were two very, very different men. /u/TheCodexx was basically correct in his response to that statement.
Napoleon sought to dominate Europe, but he didn't seek to completely change it. Napoleon of course instituted many reforms, but his programs simply can not be compared to Nazism. Hitler sought to completely change the demographic, political, and social makeup of Europe. Napoleon might have been egotistical and tyrannical, but I don't think it is fair to say that he is the "same" as someone who sought to industrially exterminate entire groups of peoples based on race or religion. Ask someone from Poland what they think of Napoleon and what they think of Hitler, and you'll get two very different answers. France was also the most militarized nation in Europe even before Napoleon - one can thank the Revolution for that - so one can't even really claim that Napoleon was the sole figure responsible for "militarizing" France.
As I mentioned before, there are parallels in their careers, parallels that people love to talk about (especially the fact that they both failed to conquer Russia). Even then, though, these parallels are mostly surface-level. Hitler and Napoleon are probably the two most famous men who attempted to dominate all or most of Europe in the modern era (sorry, Kaiser Wilhelm II), so the fact that people focus on the similarities between them isn't too surprising, but in my view the differences between the two leaders are way more significant than the similarities. The biggest similarity between the two men, in my view, is that they were both megalomaniacs (Hitler probably more so than Napoleon), but one can find plenty of other leaders from throughout history who fit that bill as well.
Oh god never could two people be very more different. In the introduction of Chandler's Campaigns of Napoleon, Chandler does talk about the two, stating that "nothing is more insulting to the former (Napoleon) and flattering yo the latter." He goes on to say that Hitler created a monster, a stillborn image of hate and destruction while Napoleon created a lasting legacy in French history, The Napoleonic Code, and National identities that last to this day.
The largest thing that make them different is what they did. Napoleon was a questionable man that did great things and positive things in the face of tradition, Hitler was a man that played on the fears and hatred of others to create one of the most destructive times in world history. The two are so very different that it is almost impossible to compare.
Hello! Maybe not quite what you had in mind but this might interest you
Thierry Lentz, in a paper originally presented at the 2011 Consortium on the Revolutionary Era, 1750-1850, takes a look at a particular branch of historiography that grew out of the comparative biography trend of the 1980s: the anachronistic comparison of Napoleon Bonaparte and Adolf Hitler.
The article.