Increasing C drive space from D that is on another disk

My computer was at repairs recently and once I've got it back, I realized I've got 900GB of free space on another disk. Is there a way to allocate all (or some) of that space to C drive, although it's on another disk? Right click on C drive in disk manager doesn't do much as I can't select "extend volume" after shrinking that of D. Any ideas?

Here you can see they are on different disks