Let me explain the title of the problem and the problem very clearly :
If $X$ and $Y$ are subsets of a topological spaces $A$ and $B$ respectively, which are homeomorphic in the respective subspace topology, does it imply that their closure $\bar{X}$ and $\bar{Y}$ are homeomorphic ?