The ship of theseus is a ship where piece by piece, all the parts get replaced. At the end, there are none of the original parts left. Now the question is, is it still the same ship, or an entirely new one?
source/more info:
https://en.m.wikipedia.org/wiki/Ship_of_Theseus
Yes, "ship" is a label given to a collection of parts. Where those parts come from is not material, as they do not contain "Theseus shipness" within them. https://www.merriam-webster.com/dictionary/reify
The question is underdetermined and unanswerable without specifying what it is we care about with regard to sameness.
Do we care about persistence of form? Persistence of material? How gradual its transformation is? Its functional utility? Its cultural perception?
Also, which ship are we asking about? The one made of all new materials, or the one rebuilt from the old materials? Or are we asking whether those two ships are the same ship? (That last option is clearly impossible in some senses, and easily true in others.)