Anexar elemento a um pai diferente

var photo = document.getElementById("photo");
photo.id  = "newId";
document.getElementById("someOtherDiv").appendChild(photo);
Meandering Meerkat