[Pytorch Edge] Add bool to copy kernel (#69106)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/69106
this kernel sucks.
Test Plan: ci
Reviewed By: shoumikhin, cccclai
Differential Revision: D32729888
fbshipit-source-id: c747d4bf3d5233c8ed15dba5e2c2d244ba7d4b3f