Excuse me, if a software company is acquired, who owns the copyright of the software produced by the company after the acquisition?

It depends on what is stipulated in your house purchase contract agreement.

Some software companies don't just make software, and some software contains many different components and versions. . .

Some softwares were sold to a large number of users before, and the company is responsible for maintaining them in the future. . .

Therefore, in order to avoid copyright disputes, it should be agreed before the acquisition.