I think the claim is false, but I am not sure that my proof has no hole (if you find one, please let me know).
My approach is to create two different functions that will serve as the main ingredient to defining the derivatives of two convex functions which are a counterexample to your claim.
Take any two different, non-decreasing, integrable functions $f, g$ such that
$$ a = \int_0^1 \! f(x) \, \mathrm d x = \int_0^1 \! g(x) \, \mathrm dx \ne 0$$
and
$$ \frac{\mathrm d f(0)}{\mathrm dx} = \frac{\mathrm d f(1)}{\mathrm dx}, \frac{\mathrm d g(0)}{\mathrm dx} = \frac{\mathrm d g(1)}{\mathrm dx} $$
as well as
$$ \max_{x \in [0, 1]} f(x) = \max_{x \in [0, 1]} g(x), \quad \min_{x \in [0, 1]} f(x) = \min_{x \in [0, 1]} g(x)$$
hold.
Now let $b$ denote the difference between the maximum value and the minimum value of $f$ (or $g$) on the interval $[0, 1]$ and define
$$f^\ast(x) = b\lfloor x \rfloor + f(x - \lfloor(x) \rfloor) / a$$
and similarly $g^\ast$ to get our two monotonically non-decreasing functions serving as derivatives of the desired convex functions.
Then
$$
\begin{align*}
\int_n^{n + 1} \! f^\ast(x) \, \mathrm d x
&= \int_n^{n + 1} \! b\lfloor x \rfloor \, \mathrm d x + \int_n^{n + 1} \! f(x - \lfloor(x) \rfloor) / a \, \mathrm d x \\
&= bn + \int_0^{1} \! f(x) / a \, \mathrm d x \\
&= bn + 1 \\
&= \int_n^{n + 1} \! g^\ast(x) \, \mathrm d x.
\end{align*}
$$
Hence the functions
$$F(n) = \int_0^n \! f^\ast(x) \mathrm d x, \qquad G(n) = \int_0^n \! g^\ast(x) \mathrm d x $$
agree on all $n \in \mathbb N$ but not on all $x \in \mathbb R$.
So we reduced the problem to finding such $f, g$.
I think this is a bit tedious to write out, but one can use
$$ f(x) = 1 + \sin(\pi x - \pi / 2)$$
which has
$$ \int_0^1 \! f(x) \, \mathrm d x = 1, \qquad \frac{\mathrm d f(0)}{\mathrm dx} = \frac{\mathrm d f(1)}{\mathrm dx} = 0$$
and
$$
g(x) =
\begin{cases}
0, & \text{if $x < 1/4$} \\
1 + \sin(2\pi x - \pi), & \text{if $1/4 \leq x < 3/4$ } \\
2, & \text{otherwise}.
\end{cases}
$$
which has the same discussed properties as $f$.
Using this, we obtain two convex functions $F, G$ which agree on $\mathbb N$ but not $\mathbb R$.