title: Copying a file to the clipboard
body: <p>guys! Does anybody know how to achieve this? I mean: if I want to put a string to the clipboard I do </p>
  
  <pre><code>NSPasteboard *pboard = [NSPasteboard generalPasteboard];
  [pboard declareTypes:[NSArray arrayWithObject:NSPasteboardTypeString] owner:self];
  [pboard setString:@"aString" forType:NSPasteboardTypeString];
  </code></pre>
  
  <p>but what if I want to put a file into the clipboard? I'd like to find a way to use a filepath as a parameter and then being able to paste that file wherever I want in the Finder, via contextual menu or CMD-V. </p>
  
  <p>Can anybody help me?</p>
  
  <p>Thanks a lot!</p>