cp

Move stuff from irb or pry to your pasteboard (the Clipboard)