Javascript Methods JavaScript Reference

Note:
Creates a duplicate of the specified TextRange object.
    
Syntax:
    
textRangeName.duplicate()