How to merge data of one model into another? : <p>I am having two models. One is Model A and another is Model B. Both models have getter-setter. But only model A holds value and Model B is totally empty. I want to use Model A and set all those values in model B. How to do that?? </p>

<p>In Model A:</p>

<pre><code>public void setVideoUrl(String videoUrl){this.videoUrl = videoUrl;}
public String getVideoUrl(){return videoUrl;}
</code></pre>

<p>In Model B:</p>

<pre><code>public String getVideoUrl() {
    return videoUrl;
}

public void setVideoUrl(String videoUrl) {
    this.videoUrl = videoUrl;
}
</code></pre>

<p>In Model A "videoUrl" is already set. I want to set that same "videoUrl" in model B. How to do it?? </p>
