Adding Video Recording - Second memcopy fix