@barrycarter : it takes you 10 years. But during that 10 years, only 6 years elapsed on your shipboard clock. Your light-clocks go slower because of your macroscopic motion through space, and so do all electromagnetic processes on board, because the maximum speed of those processes is c. Time dilation is just Pythagoras's theorem at heart, see
this answer. It's simpler than you think.