Replace copied sample text to generated text