Copy improvements

A few improvements are also useful for my original project. I had wished you had created a pull request with this ;)
Not required I think because Yahoo search is not encrypted. But it might be better if this changes in future