Neos.Neos/Classes/Service/Controller/NodeController.php
public function copyAndRenderAction(Node $node, Node $targetNode, $position, $fusionPath, $nodeName = null)
    {
        $copiedNode = $this->nodeOperations->copy($node, $targetNode, $position, $nodeName);
        $this->redirectToRenderNode($copiedNode, $fusionPath);
    }
public function copyAndRenderAction(Node $node, Node $targetNode, $position, $fusionPath, $nodeName = null)
    {
        $copiedNode = $this->nodeOperations->copy($node, $targetNode, $position, $nodeName);
        $this->redirectToRenderNode($copiedNode, $fusionPath);
    }
public function copyAndRenderAction ( Node $ node , Node $ targetNode , $ position , $ fusionPath , $ nodeName = null ) { $ copiedNode = $ this -> nodeOperations -> copy ( $ node , $ targetNode , $ position , $ nodeName ) ; $ this -> redirectToRenderNode ( $ copiedNode , $ fusionPath ) ; }
Copies the given node before, into or after the target node depending on the given position and renders it's content collection.

@param Node $node The node to be copied
@param Node $targetNode The target node to be copied "to", see $position
@param string $position Where the node should be added in relation to $targetNode (allowed: before, into, after)
@param string $nodeName Optional node name (if empty random node name will be generated)
@param string $fusionPath The Fusion path of the collection
@return void
Copies the given node before into or after the target node depending on the given position and renders it s content collection .