copy string.c from crowbar