This is one of the many reasons why I love science fiction. Many of my favorite novels center around consciousness and the related technology to assist/enable/enhance it. Reading these in my younger years, many of these novels have shaped my life, especially my career.
I may be confusing my authors, but some of the more recent novels I've read (from about 10 years or so ago, it's been a while), I think from Alastair Reynolds, have a wide range of ideas. Some center around the same kind of thing that Elon Musk talks about with Neuralink. Others take a wildly different path... putting an extant brain in a box or cabinet on wheels.
On this topic I used to be a huge fan of the concept of uploading. But then I formed the opinion that, if all we're doing is copying state, then the new instance is not the old inshttp://www.rudyrucker.com/wares/tance. It's just another instance with its own state from that point forward. I think it's also a Reynolds book where a person creates a copy of their consciousness and puts it into a very physically small spacecraft in order to travel a maximum speed to a very distance place (I forget the intended task). But upon return the two instances and ended up becoming antagonists due to their different experiences in the meantime.
Likewise, I want to say it was a Rucker book, a person is copied, and the copy is not them, just a new instance.
That kind of soured me on uploading. However, at the same time, it seems to me that can be akin to giving birth to the next generation. A gift of sorts. Maybe we ourselves can not directly enjoy the benefits, but possibly we can gift that possibility to our descendants.
I am particularly fond of old cyberpunk takes on this topic. Gibson and his wild cyberspace characters... the Oracle and Papa Legba, the self-aware pimpmobile, and the end of the one book where entities jumped out of all the fax machines around the world... good times.
Also Asimov and his robot-focused series.
I digress