I would like to be able to change an elements parent. Basically I would like to move an element from one parent to another. I would like this to happen in Javascript, preferably using only the JQuery library.

Before code:

```
<div id = "div1">
  <p id = "paragraph">
    Lorem ipsum dolor sit amet, adipiscing pellentesque egestas.
  </p>
</div> 
<div id = "div2></div>

```

After code:

```
<div id = "div1"> </div> 
<div id = "div2>
  <p id = "paragraph">
    Lorem ipsum dolor sit amet, adipiscing pellentesque egestas.
  </p>
</div>

```