Well you can either store the value that the pointer is pointing to or you can store the address in memory which is the actual value of the pointer.
A basic copy constructor for an int* is simple. Assuming the class has already been made and called cstr and it has a private member int* intptr the code is as follows:
Code:
cstr::cstr(int* inpt)
{
intptr = inpt;
}
I think that's what you're trying to ask but correct me if it's not.