If you copy someone else’s patented product and apply for a patent yourself, is this illegal?

First of all, the novelty of the patent application is lost.

Secondly, this approach is an infringement of other people’s patent rights.

Third, if the original product is improved, it can be determined to apply for a utility model patent (or invention patent) and reasonably apply for patent rights.