implemented: measure time of CPU, GPU and GPU with Memcpy