use memcpy just incase the structure ever grows in future.
Authored by: sumolx 2009-11-04
Parent: [r2474]
Child: [r2476]