title: Neo4J - Copy all relationships from one to another node (C# Wrapper)
body: <p>i'm currently struggling with an issue an i've not found any workaround at the moment. (I'm using NEO4J C# library)</p>
  
  <p>I need to merge two nodes together into a third and copy all the relationships (Type &amp; Properties) from those two nodes to my newly created third node:</p>
  
  <pre><code>(a:Label)-[r]-()
  (b:Label)-[r2]-()
  (c:Label)
  </code></pre>
  
  <p>I've been able to properly retrieve my two first nodes &amp; merge it into a third node that's created in the DB, but i'm struggling to copy all relationships from the two firsts nodes to the third one.</p>
  
  <p>I've tried several things without success, such as:</p>
  
  <pre><code>        using (GraphClient graphClient = GetGraphClient())
          {
              var inputString = string.Format("({0}:{1})-[r]-&gt;(n), ({2}:{3})", "a", typeof(Label).Name, "b", typeof(Label).Name);
              var query = graphClient.Cypher
                      .SendQueryOnMaster()
                      .Match(inputString)
                      .Where((Label a) =&gt; a.Id == from.Id)
                      .AndWhere((Label b) =&gt; b.Id == to.Id)
                      .Create("(b)-[r2:type(r)]-&gt;(n)");
              query.ExecuteWithoutResults();
          }
  </code></pre>
  
  <p>Copy all relationships from one node to another might be a use-case people might have encountered :)</p>
  
  <p>Is There any way to make it work ?</p>
  
  <p>Thanks</p>