Copies the source unicode string or the maximum number of characters from the source unicode string to the target buffer.