While building and running the project, the copy-paste functionality is not working, even though it works as expected in the local React JS environment

While preview Build also it is happening.