Drag a component to the screen, assign it to the widget or component you want to copy it to using the TargetId parameter, and provide the CopyAndCut parameter a boolean variable that will handle the event to copy the component to the clipboard.