how do i make an image's background transparent so that when i copy and paste it there is no white square background
White/gray square background means transparent.
You will notice this once you export as PNG that the squares are gone.
If you have other squares you should select the squares (with e.g. magic wand tool) you want to be transparent and use Clear.
Retrieving data ...