PFX file

From: Param (
Date: 01/19/05

Date: Wed, 19 Jan 2005 05:57:03 -0800

I have a pfx file . I have imported it to a memory store.Its is not having
any password. I used PFXImportCertStore function.

Now I want the same certificate to be exported to a pfx file with a password?
How it can be done?