Question: how to copy files from ubuntu to vm?
Answer: Method 1: Mount a shared folder that's on the Windows host onto Ubuntu. That way you don't even need to copy them. ... 
Method 2. The easiest way to do is to install the VMware Tools in Ubuntu, then you are able to drag the file into the Ubuntu VM. ... 
Method 3. Login to your linux machine (ubuntu) in vmware.