imagecopy
(PHP 4, PHP 5, PHP 7, PHP 8)
imagecopy — 拷貝影象的一部分
說明
    imagecopy(
resource
resource
int
int
int
int
int
int
): bool
   resource
$dst_im,resource
$src_im,int
$dst_x,int
$dst_y,int
$src_x,int
$src_y,int
$src_w,int
$src_h): bool
    將 src_im 影象中座標從
    src_x,src_y 
    開始,寬度為 src_w,高度為 src_h
    的一部分拷貝到
    dst_im 影象中座標為
    dst_x 和 dst_y 的位置上。