I need to create a deep copy constructor, but I'm not quite sure how with my given program. My program doesn't use any other fields other than an array of byte. My instructions for the constructor were simply:"Copy constructor; a deep copy should be performed."
public class AdditionOnlyInt implements BigInt{
private byte[] d;
public AdditionOnlyInt(AdditionOnlyInt a){
this.d = a.d;
}
}