title: How can i copy only header files in an entire nested directory to another directory keeping the same hierarchy after copying to new folder
body: <p>I have a directory which has a lot of header files(.h) and other .o and .c files and other files.
  This directory has many nested directories inside. I want to copy only header files to a separate directory preserving the same structure in the new directory.</p>
  
  <p><code>cp -rf oldDirectory newDirectory</code> will copy all files.
  I want to copy only header files.</p>