Can't find solution to change boxcollider during runtime

How do i change boxcollider during runtime, this is what i have and can’t find the right thing.
this.gameObject.GetComponent what here = boxcol;

i think i found out how, this.gameObject.GetComponent().size = boxcol.size;