Use this code in sucess.phtml page
$order = Mage::getModel('sales/order')->loadByIncrementId(Mage::getSingleton('checkout/session')->getLastRealOrderId());
$shipping_address_data = $order->getShippingAddress();
$billing_address_data = $order->getBillingAddress();
echo "customer ID".$shipping_address_data['customer_id'];
echo "customer firstname".$shipping_address_data['firstname'];
echo "customer lastname".$shipping_address_data['lastname'];
echo "customer street".$shipping_address_data['street'];
echo "customer city".$shipping_address_data['city'];
echo "customer region".$shipping_address_data['region'];
echo "customer region_id".$shipping_address_data['region_id'];
echo "customer postcode".$shipping_address_data['postcode'];
echo "customer telephone".$shipping_address_data['telephone'];
echo "customer country_id".$shipping_address_data['country_id'];
echo "Billing customer ID".$billing_address_data['customer_id'];
echo "Billing customer firstname".$billing_address_data['firstname'];
echo "Billing customer lastname".$billing_address_data['lastname'];
echo "Billing customer street".$billing_address_data['street'];
echo "Billing customer city".$billing_address_data['city'];
echo "Billing customer region".$billing_address_data['region'];
echo "Billing customer region_id".$billing_address_data['region_id'];
echo "Billing customer postcode".$billing_address_data['postcode'];
echo "Billing customer telephone".$billing_address_data['telephone'];
echo "Billing Billing Add Country ID".$billing_address_data['country_id'];