By memory, not by your body
The philosopher John Locke argued that you are the same person as your past self only as far back as you can remember being that self. On this view, a continuous chain of memory, not unchanging flesh, is what carries your identity through time.