The copy / paste does not work after being sent by spam, but works again after restarting / waiting

copy paste most of the time does not work for any reason. as before, I copied pasted and it broke down and the time I typed that (a few minutes later) it was working again for some reason. I am on Windows 10.