If you want to change the look of the Joomla search module and Joomla search component:
Copy the file:
Now make a few changes in that file and refresh your site.
In a similar fashion, you can also override the Search Module layout file. Copy the file: