Copy struct to an other
===

I want to copy some data stored in a struct to an other. Does the code below work?? Is it recommended or not?

    #define SIZE 100
    struct {
    int *a;
    int *b;
    } Test;
    Test t1;
    t1.a = malloc(SIZE);
    t1.b = malloc(SIZE);
    
    Test t2;
    memcpy(t2,t1,sizeof(Test));