Use memcpy, memcmp functions for the rime cmp and cpy

memcpy and memcmp are used all over contiki. Why not use them here as well. This saves few bytes.

tadoº GmbH (www.tado.com)