utils: Fix copy_timestamp() accuracy

Fixes: CID 49000
Signed-off-by: Thomas Graf <tgraf@suug.ch>