The bug is completely reproducible for me with Arduino IDE ver 1.8.13 on Windows 10.
The first character in the Serial Monitor Window is a backwards question mark. If I do a CTL-A, CTL-C, it will NOT
paste into another window. If I select everything but that backwards question mark, I CAN copy the text and paste it to another window.
You might be able to work around the issue by adding a short delay between the Serial.begin() and the first output to Serial Monitor. That has worked for me with certain boards.