I think the problem is that the copy "buffer" if you want to call it like that is saved somewhere in the current program memory. When the program is closed the "buffer" is erased so there is no source to copy it from.
A possible fix would be allocating some memory for copy. But than again this might prove to be a really bad security flaw.
Please correct me if I am wrong. I just THINK this is how it works.
I think the problem is that the copy "buffer" if you want to call it like that is saved somewhere in the current program memory. When the program is closed the "buffer" is erased so there is no source to copy it from.
A possible fix would be allocating some memory for copy. But than again this might prove to be a really bad security flaw.
Please correct me if I am wrong. I just THINK this is how it works.