I've noticed this bug since version 6 IIRC. I'm running 6.1 and I still sometimes have hard times copy pasting a text, as it seems that copy needs some time to work, and very often, what I paste is a text that has been copied earlier, but not the latest one in the clipboard. This bug only occurs in the PB IDE, as I'm using Notepad++, VSCode and IntelliJ without this problem.
UPDATE: I now had another bug, copy paste two things in a minute; then I paste one time, the latest copy was pasted as expected, and then pasted another time and the previous clipboard was pasted instead!