This function allocates a new AFC string and copies the contents of the provided string into it, It is a shorthand for afc_string_new() and afc_string_copy()
This function can handle NULL pointers.
This is a new AFC string, like the ones usually created using afc_string_new() so you have to explicitely deallocate it when you have finished, using the standard afc_string_delete() function.