Harper or Halpert?

Is The Office's Jim Halpert really The Newsroom's Jim Harper or is Jim Harper Really Jim Halpert?