lib: string: slightly tweak coding style and license

Signed-off-by: Viller Hsiao <villerhsiao@gmail.com>
lib: string: add strlen

Signed-off-by: Viller Hsiao <villerhsiao@gmail.com>
lib: string: add strcpy

Signed-off-by: Viller Hsiao <villerhsiao@gmail.com>