copied connection statement