I can't transfer nano code

I can upload code to uno on the USB port but I can't upload code to nano on the same port. Even when the port works, the uploading message remains and it doesn't upload. I would be glad if you help me.

Sketch uses 924 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't set com-state for "\.\COM3"
Failed uploading: uploading error: exit status 1

You need to select the com port that is given to Nano, not necessarily same than with Uno.

Ok, I chose the same port and nano continues again, but it doesn't work.

It doesn't actually work on any port.

Missing driver for USB-serial chip of nano?

I know it is the same as the Uno driver, if it is different, where can I download it?

So there's no problem.

So what should I do?

You control that what you are sure about is true.
Uno r3 has Atmega16U2, Nano has FT232RL
And clones can have whatever.
Check what's written on the chip.

You need to know what USB-serial chip your Nano has. It is on underside of the board. You may need a bright light and magnifying glass to read it.

My nano is a clone, nothing is written under it

Then it could be difficult to identify.

Do you have link to the page where you purchased the Nano?

Honestly, I got this clone from someone and he doesn't know.

You will have to try some different drivers and hope to find the correct one.

I think most common is CH340

I already have that driver

See if these instructions help: Port monitor error: command 'open' failed: Invalid serial port. Could not connect to COM serial port - #49 by ptillisch

If your board is a clone, it more than likely has the CH340 and it should look like below

If there is no print (your might have to fiddle with the light to get correct exposure), your board has a reject or fake CH340.

Others to try are FT232 and CP2102

I'll look at the link you sent.

My nano's processor is square.

We are not talking about the processor. We are talking about the USB-serial adapter chip on the underside of the board.

I will look immediately.

I think this is fake CH340