commiting stack_memcpy with passing test cases