Which mechanism is used by the computer virus ‘worm’ to duplicate itself?

Which mechanism is used by the computer virus ‘worm’ to duplicate itself?

A. Swap
B. Spawn
C. Increment
D. Swarm