Add string for the pattern copy.
Fix issue #3: Finish implementation of the pattern copy.