A brain upload would be a close copy; the same patterns and memories may live on. But the original life thread ends, so the self continues in a new vessel.