/sbin/apfs_hfs_convert
The apfs_hfs_convert command converts an existing HFS file system to a new APFS file system.