Since you've used the "Install alongside Windows" option, you've allowed automatic partition resizing where the Windows partition would be shrunk by the amount that you selected for Ubuntu, and appropriate partition will be created to get Ubuntu installed there.
You can then restart and choose the OS you want to boot from the GRUB menu.
"... how to uninstall Ubuntu from one drive and install in another drive?"
Here are the points you'll have to remember while you do this:
Boot Live Ubuntu and with the help of partition manager delete the partition where Ubuntu is currently installed, and this will create some unallocated space;
Using partition manager, you'll have to assign a proper filesystem to the unallocated space i.e. create a new partition; and maybe you'd look to merge it to some other partition;
You can then appropriately format (with ext* filesystem) the target drive/partition where you want to install Ubuntu and install there. (You can install Ubuntu to extended partitions; while root (i.e. /
) partition is a must, you can also create swap partition or separate partitions for your /home
, /boot
if you prefer to.)
References: