Following is a part of the text from Steven Shreve Stochastic Calculus for Finance II, for pricing the European Option in Black Scholes model.
The argument is that today I start by selling a European call option at price $c(0,S(0))$ and build a portfolio valued at $X(0) = c(0,S(0))$ by investing in stocks/bonds.
Now if at all arbitrage opportunity arises, it would only occur at time $T$ at maturity of this option, when it can be exercised. And therefore, for no-arbitrage I would require $X(T) = c(T,S(T)) = (S(T) - K)^+$
Now I do not understand the argument for $c(t,S(t)) = X(t)$ for all $0 < t < T$.
I know $X(t)$ for all times $t$ because this is the portfolio I have constructed using stocks/bonds.
But what exactly is $c(t,S(t))$ at some time $t$? At some middle time $t$, is the call option value implicit or something I need to decide? Meaning, is there an arbitrage opportunity if I had instead set $c(t,S(t)) = \frac{t}{T}X(t) + (1 - \frac{t}{T})X(0)$ or anything else like that?
So what am I missing here? How do I understand why $X(t) = c(t,S(t))$ for all $t$?