This seems to be a syntax error in clang. You should use the optimization flag with the flag without inline code.
The following command builds with memcopy:
arm-linux-androideabi-clang -S myMemcpy.c -fno-builtin
memcopy:
arm-linux-androideabi-clang -S myMemcpy.c -fno-builtin -O1
.