How does the current copy and paste work on a computer?  Such as being able to copy some formatted text together with an image, and then when pasted to a text editor, it will intelligently paste only ASCII or UTF-8 text, while if pasted to some webapps or Microsoft Word or Pages on a Mac, it will paste the text together with the formatting info as well as the image.  (Is this actually one of the GoF Design Pattern or a design pattern that is well defined that actually has a name to it?)
How does the copy and paste mechanism work and is it a standard design pattern as in GoF?
design patterns