Duplicate paragraphs from node type FOO to node type BAR I have two content types: FOO and BAR. These content types have a field called "field_paragraphs" of type "paragraph". And other fields of course.

Now in a situation my user can click a button (that call one of my function defined via hook_menu) and "copy" content of type FOO to a new content of type BAR, so I need to copy, NOT CLONE, field_paragraphs from FOO to BAR: I need to create a standalone copy of "field_paragraphs"; like two different insert.

I have searched on google but all talk about "clone", but in my case I need to copy so I can not use "clone" module. 

How can I do this ? 

M.
EDIT: You can now find a better explanation with the code here.
I know this is old but maybe someone comes here looking for an answer like me, this is tested on Drupal 8.
I found this issue and after looking at last patch, I implemented :
$nodeDuplicate = $node-&gt;createDuplicate();

foreach($nodeDuplicate-&gt;field_paragraphs as $field){
    $field-&gt;entity = $field-&gt;entity-&gt;createDuplicate();
}

$nodeDuplicate-&gt;save();

And I got a duplicate node with duplicated paragraphs fields. If you look at the patch you will see how to add a button to Drupal etc.
Just a note field_paragraphs is the name of my field in the content type, change it with your own.
I didn't have any problem doing it this way, maybe someone has a better way but I did not find it, also at the time of writing this there is still no ported modules for cloning nodes in Drupal 8.