title: Need to override custom module a phtml file and a Magento theme template file
body: <p>I am using the default Magento Luma theme in Magento2. I would like to change in this file and need to override the <code>/vendor/magento/module-theme/view/frontend/templates/html/header.phtml</code> file in the <code>app/code</code> folder.</p>
  <p>I also want to change in existing custom module template file to override:</p>
  <p><code>app/code/company/modulename/view/frontend/templates/view.phtml</code></p>
  <p>I have tried lot of methods, but they're not working.</p>