You can change the virtual machine name in the Oracle VM VirtualBox Manager. Note that changing the name does not change the name of any of the virtual machine files or the name of the directory that the files are located in.
Here is how you can change the name of a virtual machine in Oracle Virtual:
Select Player > Settings > General:
Select the Basic tab. You should see the Name field. Enter the new virtual machine name and click OK: