Generally you'd not have an issue if you know what has happened between creating the line and copying it. Though if some random stuff happened in between, it might be possible that the line was erased. Unfortunately your Entity1 variable would still contain the ename of the line, even after it was erased, so your if statement (as you have it now) would erroneously "think" it should continue with the copy command.
If you want to make sure it still exists, you can check if you can obtain it's DXF data (using entget). If entget returns a list (instead of nil) the entity exists. You can then further check from that list on which layer it resides, and then using tblsearch check if that layer is thawed / on / unlocked.
There might be other ways too, e.g. vlax-ename->vla-object, ssadd, (ssget "X") with ssmemb, etc.