connmand: byte aligned memory access

4-byte memory access works only when the pointer is 4-byte aligned.
Use memcpy function, since 4-byte pointer alignment is not guaranteed.
The same applies to 2-byte memory access.

Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>