Use the '=' operator (not memcpy()) to shallow-copy structs.

Merge request reports