It's probably due disk caches, try running
echo 3 > /proc/sys/vm/drop_caches
to clear up the cache before running your benchmark :)
my guess is that they do should be very, very close, ofcourse cp should start copying some miliseconds faster than ruby.