title: Best way to create a child object from its parent
body: <p>Which is the best way to create a child given a parent with data?
  Would it be ok to have a method with all parents values on the child class as:</p>
  
  <pre><code>public class Child extends Person {
    public Child(Parent p) {
      this.setParentField1(p.getParentField1());
      this.setParentField2(p.getParentField2());
      this.setParentField3(p.getParentField3());
      // other parent fields.
    }
  }
  </code></pre>
  
  <p>to copy parent data ti child object?</p>
  
  <pre><code>Child child = new Child(p);
  </code></pre>