Yes, this is correct. The technical term for this is an "in-kind" transfer, and while it might occasionally allow for things to slip through the cracks, it certainly hasn't stopped capital gain reporting requirements from being both feasible and largely effective.