title: How to copy a file from one branch to another branch using functionality on Eclipse
body: <p>Usually, I would just copy the whole content of that file in the current branch and switch to another branch on Eclipse and paste it in the new branch but I am just asking if there is a way I could do this when checking out from Eclipse? </p>
  
  <p>So, I have a branch called <code>Mock</code> branch and it has a file called <code>a.java</code> and I have modified the file. Now, I switch to another branch that also has <code>a.java</code> but different from that of the <code>Mock</code> branch because I have made changes to the <code>a.java</code> in the <code>Mock</code> branch.  </p>
  
  <p>Now, how do I push commit on the other branch showing the differences between the <code>a.java</code> in it and that of the <code>Mock</code> branch and applying the changes in <code>Mock</code> branch to the branch I am currently on?<br>
  Is this possible in Eclipse?</p>