[BUGFIX] Fixed pid 0 problem by copy elements

If you copy content elements, the parent elements are always set on pid 0.
Merge pull request #469 from tomruether/development

[BUGFIX] Fixed pid 0 problem by copy elements