Copy current URL action

Is there an action, technique, or method to copy the current URL as part of an action?