Porting data from version 3.2 to 4.0

Right now, I am using mongodb 3.2, and want to upgrade to 4.0.
I downloaded/unpacked Mongodb 4.0.19, and I want to running mongod from version 4.0.

Is it possible to set --dbpath pointing to the db path of mongodb 3.2? I mean whether I can use the data generated by version 3.2 directly.

Thanks in advance.