Just like question asked, my thought is they have the same mapping.
My classmate gives me a counterexample: if $X$ and $Y$ are equal, then $X+Y=2X$. However, $\operatorname{Var}(2X) \neq \operatorname{Var}(X+Y)$. So $2X$ and $X+Y$ don't have the same distribution? I am confused.
If $X$ and $Y$ are exactly equal, the only way for them to be independent is if they're constant (i.e. have 0 variance). Hence we'd actually have $\text{Var}(2X) = \text{Var}(X + Y) = 0$ in this case.
Like Sangchul Lee said, the way to prove your claim is to note that $(X ,Y)$ and $(Y, X)$ have the same joint distribution.