The documentation for PasteFromClipboard() says that it “inserts” the clipboard data, but in reality, it either inserts or overwrites depending on the current INS/OVR mode of the target binary file. This makes it risky to use the function, because for as far as I can tell, scripts can’t query or change this mode, leading to unpredictable results. Maybe PasteFromClipboard() could be extended with an optional argument for explicitly specifying how to write the data?
Somewhat relatedly, the manual entry for OverwriteBytes() refers to InsertBytes(), but the link is broken.