The SWAP gate exchanges the states of two qubits, including any correlations they have with other systems. Its action on the computational basis fixes the operation on every quantum superposition by linearity.
In particular, . This transfers rather than copies the two inputs, so it does not violate the no-cloning theorem. The Three-CNOT decomposition of the SWAP gate implements the same operation using alternating control directions. [ref]
Qiskit quantum gate documentation by IBM. IBM Quantum, SwapGate: state exchange and matrix representation
New to topics? Read the docs here!